package com.ax.business.hemp.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class HempRegisteDetail {
    /**
     * 含麻登记明细ID
     */
    private Long hempRegisteDetailId;

    /**
     * 含麻登记ID
     */
    private Long hempRegisteId;

    /**
     * 含麻登记单号
     */
    private String hempRegisteSeq;

    /**
     * 药品ID
     */
    private Long drugId;

    /**
     * 药品名称
     */
    private String drugName;

    /**
     * 规格
     */
    private String spec;

    /**
     * 价格
     */
    private Float price;

    /**
     * 数量
     */
    private Float number;

    /**
     * 金额
     */
    private Float money;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 修改时间
     */
    private Date updateDate;

    /**
     * 状态(1：有效；0：注销)
     */
    private Integer flag;

    public HempRegisteDetail(Long hempRegisteDetailId, Long hempRegisteId, String hempRegisteSeq, Long drugId, String drugName, String spec, Float price, Float number, Float money, String remarks, Date createDate, Date updateDate, Integer flag) {
        this.hempRegisteDetailId = hempRegisteDetailId;
        this.hempRegisteId = hempRegisteId;
        this.hempRegisteSeq = hempRegisteSeq;
        this.drugId = drugId;
        this.drugName = drugName;
        this.spec = spec;
        this.price = price;
        this.number = number;
        this.money = money;
        this.remarks = remarks;
        this.createDate = createDate;
        this.updateDate = updateDate;
        this.flag = flag;
    }

    public HempRegisteDetail() {
        super();
    }

    public Long getHempRegisteDetailId() {
        return hempRegisteDetailId;
    }

    public void setHempRegisteDetailId(Long hempRegisteDetailId) {
        this.hempRegisteDetailId = hempRegisteDetailId;
    }

    public Long getHempRegisteId() {
        return hempRegisteId;
    }

    public void setHempRegisteId(Long hempRegisteId) {
        this.hempRegisteId = hempRegisteId;
    }

    public String getHempRegisteSeq() {
        return hempRegisteSeq;
    }

    public void setHempRegisteSeq(String hempRegisteSeq) {
        this.hempRegisteSeq = hempRegisteSeq == null ? null : hempRegisteSeq.trim();
    }

    public Long getDrugId() {
        return drugId;
    }

    public void setDrugId(Long drugId) {
        this.drugId = drugId;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName == null ? null : drugName.trim();
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec == null ? null : spec.trim();
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Float getNumber() {
        return number;
    }

    public void setNumber(Float number) {
        this.number = number;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}